import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/views/index'
import Log from '@/views/log'
import Record from '@/views/record'
import Dashboard from '@/views/dashboard'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/log',
      name: 'Log',
      component: Log
    },
    {
      path: '/record',
      name: 'Record',
      component: Record
    },
    {
      path: '/dashboard',
      name: 'Dashboard',
      component: Dashboard
    }
  ]
})
